projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28f8fb7
)
drivers/passthrough: Revert 23352:ea48976517af -- incorrect bugfix.
author
Keir Fraser
<keir@xen.org>
Mon, 23 May 2011 17:35:04 +0000
(18:35 +0100)
committer
Keir Fraser
<keir@xen.org>
Mon, 23 May 2011 17:35:04 +0000
(18:35 +0100)
Signed-off-by: Keir Fraser <keir@xen.org>
xen/drivers/passthrough/pci.c
patch
|
blob
|
history
diff --git
a/xen/drivers/passthrough/pci.c
b/xen/drivers/passthrough/pci.c
index 1cd82d632f981b0a905078088f11b24ba50669ab..e30cd950a399749febd91d56c025338859ae6aa2 100644
(file)
--- a/
xen/drivers/passthrough/pci.c
+++ b/
xen/drivers/passthrough/pci.c
@@
-173,11
+173,11
@@
out:
int pci_remove_device(u8 bus, u8 devfn)
{
- struct pci_dev *pdev
, *tmp
;
+ struct pci_dev *pdev;
int ret = -ENODEV;
spin_lock(&pcidevs_lock);
- list_for_each_entry
_safe ( pdev, tmp
, &alldevs_list, alldevs_list )
+ list_for_each_entry
( pdev
, &alldevs_list, alldevs_list )
if ( pdev->bus == bus && pdev->devfn == devfn )
{
ret = iommu_remove_device(pdev);